##############################################################################
# helper.py
#
# This helper widget display a menu with commands and their syntax.
# It accesses "data/config/help.txt" to get information.
##############################################################################

import bgl, widget

import pygame
from pygame.locals import *

class Helper(widget.Widget):
    def __init__(self, control):
		widget.Widget.__init__(self)

		self.control = control
		self.size = (100,100)
		self.rect = pygame.Rect((300, 50), self.size)
    
    def update(self):
        pass
    
    def parse_events(self, events):
        pass
    
    def command(self, value):
        pass
    
    def draw(self, target):
		c = (0, 255, 255)
		pygame.draw.rect(target, c, self.rect, 0)
